package com.nq.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class UserPositionDetail {
    private Integer id;
    private Integer positionId;
    private Integer userId;
    private String stockName;
    private String stockCode;
    private String stockGid;
    private String stockSpell;
    // 1 买入 2 卖出
    private Integer type;
    private String parentOrderId;
    private String orderId;
    private Date orderTime;
    private BigDecimal initPrice;
    private BigDecimal orderPrice;
    private BigDecimal profitTargetPrice;
    private BigDecimal stopTargetPrice;
    private String orderDirection;
    private Integer orderNum;
    private Integer lastNum;
    private Integer orderLever;
    private BigDecimal orderTotalPrice;
    private BigDecimal orderFee;
    private BigDecimal orderSpread;
    private BigDecimal orderStayFee;
    private Integer orderStayDays;
    private BigDecimal profitAndLose;
    private BigDecimal allProfitAndLose;
    private String stockPlate;
    /*点差费金额*/
    private BigDecimal spreadRatePrice;
    /*追加保证金额*/
    private BigDecimal marginAdd;
    /**
     * 股票类型
     */
    private Integer stockType;
}

